package com.freight.credit.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.freight.core.base.FreightBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "test")
@TableName("test")
@ApiModel(value = "测试")
public class Test extends FreightBaseEntity {

    @ApiModelProperty(value = "结算金额")
    private BigDecimal accountAmt;

    @ApiModelProperty(value = "费用类型 0  应收 1 实收 2 应付 3 实付")
    private Integer amtType;

    @ApiModelProperty(value = "科目项类别 1 路损 2 ")
    private String accountType;

    @ApiModelProperty(value = "结算描述")
    private String accountDesc;

}
